package com.xqboss.apps.dto.consumer;

import com.xqboss.apps.dto.PageDto;
import com.xqboss.apps.enums.consumer.ConsumerApplyEnum;
import com.xqboss.apps.enums.consumer.ConsumerApplyStatusEnum;
import com.xqboss.apps.enums.consumer.ConsumerApplyTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author Administrator
 */
@Getter
@Setter
public class ConsumerApplyDto extends PageDto {

    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty("队伍id")
    private Integer teamId;

    @ApiModelProperty("1_用户申请,2_管理员邀请")
    private ConsumerApplyTypeEnum type;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("1_待处理,2_已同意,3_已拒绝")
    private ConsumerApplyStatusEnum status;

    @ApiModelProperty("被处理人id")
    private Long handlerUserId;

    @ApiModelProperty("邀请人id")
    private Long inviteUserId;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("1好友申请，2我的申请，3邀请我的")
    private ConsumerApplyEnum applyEnum;
}
